package cn.yh.shop.user.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.yh.shop.user.dao.UserOrderItemDao;
import cn.yh.shop.user.model.UserOrderItem;
import cn.yh.shop.user.service.IUserOrderItemService;
@Service
public class UserOrderItemServiceImpl implements IUserOrderItemService {

	@Autowired
	private UserOrderItemDao userorderitemdao;
	@Override
	public List<UserOrderItem> getUserOrderItems() {
		return userorderitemdao.selectUserOrderItems();
	}

	@Override
	public List<UserOrderItem> getUserOrderItemById(HashMap map) {
		return userorderitemdao.selectUserOrderItemById(map);
	}

}
